package com.tudouji.project.system.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 短信验证码对象 tmessage
 * 
 * @author coal
 * @date 2021-08-18
 */
public class Tmessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一编码 */
    private Long id;

    /** 短信消息 */
    @Excel(name = "短信消息")
    private String context;

    /** 发送时间 */
    @Excel(name = "发送时间")
    private String senddate;

    /** 发送短信手机号 */
    @Excel(name = "发送短信手机号")
    private String phonenum;

    /** 验证码 */
    @Excel(name = "验证码")
    private String verifycode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContext(String context) 
    {
        this.context = context;
    }

    public String getContext() 
    {
        return context;
    }
    public void setSenddate(String senddate) 
    {
        this.senddate = senddate;
    }

    public String getSenddate() 
    {
        return senddate;
    }
    public void setPhonenum(String phonenum) 
    {
        this.phonenum = phonenum;
    }

    public String getPhonenum() 
    {
        return phonenum;
    }
    public void setVerifycode(String verifycode) 
    {
        this.verifycode = verifycode;
    }

    public String getVerifycode() 
    {
        return verifycode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("context", getContext())
            .append("senddate", getSenddate())
            .append("phonenum", getPhonenum())
            .append("verifycode", getVerifycode())
            .toString();
    }
}
